package com.baitiaojun.video.mapper;

import com.baitiaojun.api.domain.video.File;

public interface FileMapper {
    int deleteByPrimaryKey(Long id);

    int insert(File record);

    int insertSelective(File record);

    File selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(File record);

    int updateByPrimaryKey(File record);

    String getUrlByMd5(String md5);

    File getFileByMd5(String md5);
}